<section class="huocms-components huocms-block huocms-block2" data-huocms-block="components/main/block2.html" data-huocms-blockid="2">
    <!-- 案例 -->
    <div class="blockBox block2" aos="fade-down">
        {hcTaglib:category id="2" item="subcategory" field="id,title,sub_title"}
        {if condition="!empty($subcategory['title'])"}
        <div class="title">
            <p>{$subcategory.title}</p>
            <div>{$subcategory.sub_title}</div>
        </div>
        <div class="w1400">
            {hcTaglib:content cid="$subcategory.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,title,sub_title,thumbnail" subField="" onlyData="2"}
            <div class="list">
                <a href="{hcTaglib:setting name='customer_link' type='2' /}" target="_blank" class="img">
                    <img src="{$case_top['thumbnail']['url']|default=''}" alt="">
                </a>
                <a href="{hcTaglib:setting name='customer_link' type='2' /}" target="_blank" class="listTitle">{$case_top['title']}</a>
                <span>
                    定制内容：<a href="{hcTaglib:setting name='customer_link' type='2' /}" target="_blank">{$case_top['sub_title']}</a>
                </span>
            </div>
            {/hcTaglib:content}
        </div>
        {/if}
        {/hcTaglib:category}
    </div>
    <link rel="stylesheet" href="/design/designStyle/deruan_suq/css/block2.css">
</section>

